From e976825342510f1c019589eef2fb63742ece44eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sat, 1 Aug 2020 15:34:07 +0200 Subject: [PATCH] button: Use g_object_notify_by_pspec() --- gtk/gtkbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index d85d65ca48..ca2d0607d9 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1035,7 +1035,7 @@ gtk_button_set_child (GtkButton *button, gtk_widget_set_parent (priv->child, GTK_WIDGET (button)); gtk_button_set_child_type (button, WIDGET_CHILD); - g_object_notify (G_OBJECT (button), "child"); + g_object_notify_by_pspec (G_OBJECT (button), props[PROP_CHILD]); } /** -- 2.30.2